package cn.e_eap.esite.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

@Entity(name="employee")
public class Employee {

	private Date createTime;

	private String dept;

	private String email;
	
	private String empId;
	
	private String mobile;
	
	private Date modifyTime;
	
	private String realName;
	
	private String type;
private int id;
	
	private String nickname;
	
	private String password;

	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}

	@Column(length=15)
	public String getNickname() {
		return nickname;
	}

	@Column(length=40)
	public String getPassword() {
		return password;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	

	@Column(name="create_time")
	public Date getCreateTime() {
		return createTime;
	}

	public String getDept() {
		return dept;
	}

	public String getEmail() {
		return email;
	}

	@Column(name="employee_id")
	public String getEmpId() {
		return empId;
	}
 

	public String getMobile() {
		return mobile;
	}

	@Column(name="modify_time")
	public Date getModifyTime() {
		return modifyTime;
	}

	@Column(name="real_name")
	public String getRealName() {
		return realName;
	}

	public String getType() {
		return type;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}
 

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
 

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
}
